package com.intretech.umsin.code.generator.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @version V1.0
 * @ClassName: GeneratorBaseConfig
 * @Description:
 * @author: 李启联
 * @date: 2020-04-13 14:20
 * @Copyright: Copyright (c), 2020
 */
@ConfigurationProperties(prefix = "template", ignoreUnknownFields = false)
@PropertySource("classpath:template.properties")
@Configuration
public class GeneratorBaseConfig {

    private String basePackage;
    public String getBasePackage() {
        return basePackage;
    }
    public void setBasePackage(String basePackage) {
        this.basePackage = basePackage;
    }

    public String baseDir;
    public String getBaseDir() {
        return baseDir;
    }
    public void setBaseDir(String baseDir) {
        this.baseDir = baseDir;
    }

    private String serviceName;
    public String getServiceName() {
        return serviceName;
    }
    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }
}